import {userInfo} from "os";

var permissions = [
  'productionData.realTimeData', 'productionData.historyData', 'productionData.historyBanci','productionData', 'qualityAnalysis'
      , 'equipmentManagement', 'userConfiguration', 'qualityAnalysis.home',
      "qualityAnalysis.defectCategory",
      'qualityAnalysis.defectPosition', 'qualityAnalysis.defectAnalysis', 'qualityAnalysis.qualityWarning',

      'equipmentManagement.equipmentOperationStatus', 'equipmentManagement.equipmentLog', 'equipmentManagement.equipmentMaintenance', 'equipmentManagement.inspectionRecord',
      'equipmentManagement.inspectionContent', 'equipmentManagement.componentLifeStatistics', 'equipmentManagement.maintenancePlan', 'equipmentManagement.equipmentInformation',

      'userConfiguration.userManagement', 'userConfiguration.permissionConfiguration', 'userConfiguration.parameterConfiguration'
]
if(process.env.NODE_ENV=='production'){
  permissions = []
}
export default {

  userStoreLimits: {}, // 复制的数据
  userInfoStore: {
    optPermission: permissions, 
    userType: 1
  }
};
